package com.hua.api.core.framework.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Slf4j
@Configuration
@EnableConfigurationProperties()
public class SysConstant {

    @Value("${alipay.appId}")
    public String appId;
    @Value("${alipay.privateKey}")
    public String privateKey;
    @Value("${alipay.serverUrl}")
    public String serverUrl;
    @Value("${alipay.publicKey}")
    public String publicKey;
    @Value("${alipay.charset}")
    public String charset;
    @Value("${alipay.format}")
    public String format;
    @Value("${alipay.signType}")
    public String signType;
    @Value("${alipay.alipayRootCertPath}")
    public String rootCertPath;
    @Value("${alipay.appCertPath}")
    public String appCertPath;
    @Value("${alipay.alipayCertPath}")
    public String alipayCertPath;
    @Value("${alipay.alipayNotifyUrl}")
    public String alipayNotifyUrl;
    @Value("${alipay.shareQrcode}")
    public String shareQrcode;
    @Value("${spring.profiles.active}")
    public String active;

}
